package com.educate.constants;

/**
 * @author xiongyu
 * @date 2021/11/7 18:59
 */
public class MqConstants {

    /**
     * 交换机
     */
    public final static String NOTE_EXCHANGE = "note.topic";

    /**
     * 监听新增和修改的队列
     */
    public final static String NOTE_INSERT_QUEUE = "note.insert.queue";

    /**
     * 监听删除的队列
     */
    public final static String NOTE_DELETE_QUEUE = "note.delete.queue";

    /**
     * 新增或修改的RoutingKey
     */
    public final static String NOTE_INSERT_KEY = "note.insert";

    /**
     * 删除的rRoutingKey
     */
    public final static String NOTE_DELETE_KEY = "hotel.delete";
}
